Skip to content

bugfix(rts): Prevent common attack target from being a destroyed object#463

Open
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/bugfix/rts-destroyed-target-check
Open

bugfix(rts): Prevent common attack target from being a destroyed object#463
seer-by-sentry[bot] wants to merge 1 commit intomainfrom
seer/bugfix/rts-destroyed-target-check

Conversation

@seer-by-sentry
Copy link
Copy Markdown

Fixes CLIENT-4BV. The issue was that: Team::getTeamTargetObject uses a dangling pointer to a destroyed Object, causing an access violation at offset 0x48.

  • Added a check to ensure that if a common attack target is found, it is not already destroyed.
  • If the target is destroyed, it is set to nullptr to prevent further processing.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 13242629

Not quite right? Click here to continue debugging with Seer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants